package com.yu.footballpromotionliveadmin.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class LiveBroadcasAdministratorExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private Integer limit;

    private Integer offset;

    public LiveBroadcasAdministratorExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getOffset() {
        return offset;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andLbanoIsNull() {
            addCriterion("lbano is null");
            return (Criteria) this;
        }

        public Criteria andLbanoIsNotNull() {
            addCriterion("lbano is not null");
            return (Criteria) this;
        }

        public Criteria andLbanoEqualTo(String value) {
            addCriterion("lbano =", value, "lbano");
            return (Criteria) this;
        }

        public Criteria andLbanoNotEqualTo(String value) {
            addCriterion("lbano <>", value, "lbano");
            return (Criteria) this;
        }

        public Criteria andLbanoGreaterThan(String value) {
            addCriterion("lbano >", value, "lbano");
            return (Criteria) this;
        }

        public Criteria andLbanoGreaterThanOrEqualTo(String value) {
            addCriterion("lbano >=", value, "lbano");
            return (Criteria) this;
        }

        public Criteria andLbanoLessThan(String value) {
            addCriterion("lbano <", value, "lbano");
            return (Criteria) this;
        }

        public Criteria andLbanoLessThanOrEqualTo(String value) {
            addCriterion("lbano <=", value, "lbano");
            return (Criteria) this;
        }

        public Criteria andLbanoLike(String value) {
            addCriterion("lbano like", value, "lbano");
            return (Criteria) this;
        }

        public Criteria andLbanoNotLike(String value) {
            addCriterion("lbano not like", value, "lbano");
            return (Criteria) this;
        }

        public Criteria andLbanoIn(List<String> values) {
            addCriterion("lbano in", values, "lbano");
            return (Criteria) this;
        }

        public Criteria andLbanoNotIn(List<String> values) {
            addCriterion("lbano not in", values, "lbano");
            return (Criteria) this;
        }

        public Criteria andLbanoBetween(String value1, String value2) {
            addCriterion("lbano between", value1, value2, "lbano");
            return (Criteria) this;
        }

        public Criteria andLbanoNotBetween(String value1, String value2) {
            addCriterion("lbano not between", value1, value2, "lbano");
            return (Criteria) this;
        }

        public Criteria andLbanameIsNull() {
            addCriterion("lbaname is null");
            return (Criteria) this;
        }

        public Criteria andLbanameIsNotNull() {
            addCriterion("lbaname is not null");
            return (Criteria) this;
        }

        public Criteria andLbanameEqualTo(String value) {
            addCriterion("lbaname =", value, "lbaname");
            return (Criteria) this;
        }

        public Criteria andLbanameNotEqualTo(String value) {
            addCriterion("lbaname <>", value, "lbaname");
            return (Criteria) this;
        }

        public Criteria andLbanameGreaterThan(String value) {
            addCriterion("lbaname >", value, "lbaname");
            return (Criteria) this;
        }

        public Criteria andLbanameGreaterThanOrEqualTo(String value) {
            addCriterion("lbaname >=", value, "lbaname");
            return (Criteria) this;
        }

        public Criteria andLbanameLessThan(String value) {
            addCriterion("lbaname <", value, "lbaname");
            return (Criteria) this;
        }

        public Criteria andLbanameLessThanOrEqualTo(String value) {
            addCriterion("lbaname <=", value, "lbaname");
            return (Criteria) this;
        }

        public Criteria andLbanameLike(String value) {
            addCriterion("lbaname like", value, "lbaname");
            return (Criteria) this;
        }

        public Criteria andLbanameNotLike(String value) {
            addCriterion("lbaname not like", value, "lbaname");
            return (Criteria) this;
        }

        public Criteria andLbanameIn(List<String> values) {
            addCriterion("lbaname in", values, "lbaname");
            return (Criteria) this;
        }

        public Criteria andLbanameNotIn(List<String> values) {
            addCriterion("lbaname not in", values, "lbaname");
            return (Criteria) this;
        }

        public Criteria andLbanameBetween(String value1, String value2) {
            addCriterion("lbaname between", value1, value2, "lbaname");
            return (Criteria) this;
        }

        public Criteria andLbanameNotBetween(String value1, String value2) {
            addCriterion("lbaname not between", value1, value2, "lbaname");
            return (Criteria) this;
        }

        public Criteria andLbapwdIsNull() {
            addCriterion("lbapwd is null");
            return (Criteria) this;
        }

        public Criteria andLbapwdIsNotNull() {
            addCriterion("lbapwd is not null");
            return (Criteria) this;
        }

        public Criteria andLbapwdEqualTo(String value) {
            addCriterion("lbapwd =", value, "lbapwd");
            return (Criteria) this;
        }

        public Criteria andLbapwdNotEqualTo(String value) {
            addCriterion("lbapwd <>", value, "lbapwd");
            return (Criteria) this;
        }

        public Criteria andLbapwdGreaterThan(String value) {
            addCriterion("lbapwd >", value, "lbapwd");
            return (Criteria) this;
        }

        public Criteria andLbapwdGreaterThanOrEqualTo(String value) {
            addCriterion("lbapwd >=", value, "lbapwd");
            return (Criteria) this;
        }

        public Criteria andLbapwdLessThan(String value) {
            addCriterion("lbapwd <", value, "lbapwd");
            return (Criteria) this;
        }

        public Criteria andLbapwdLessThanOrEqualTo(String value) {
            addCriterion("lbapwd <=", value, "lbapwd");
            return (Criteria) this;
        }

        public Criteria andLbapwdLike(String value) {
            addCriterion("lbapwd like", value, "lbapwd");
            return (Criteria) this;
        }

        public Criteria andLbapwdNotLike(String value) {
            addCriterion("lbapwd not like", value, "lbapwd");
            return (Criteria) this;
        }

        public Criteria andLbapwdIn(List<String> values) {
            addCriterion("lbapwd in", values, "lbapwd");
            return (Criteria) this;
        }

        public Criteria andLbapwdNotIn(List<String> values) {
            addCriterion("lbapwd not in", values, "lbapwd");
            return (Criteria) this;
        }

        public Criteria andLbapwdBetween(String value1, String value2) {
            addCriterion("lbapwd between", value1, value2, "lbapwd");
            return (Criteria) this;
        }

        public Criteria andLbapwdNotBetween(String value1, String value2) {
            addCriterion("lbapwd not between", value1, value2, "lbapwd");
            return (Criteria) this;
        }

        public Criteria andSaltIsNull() {
            addCriterion("salt is null");
            return (Criteria) this;
        }

        public Criteria andSaltIsNotNull() {
            addCriterion("salt is not null");
            return (Criteria) this;
        }

        public Criteria andSaltEqualTo(String value) {
            addCriterion("salt =", value, "salt");
            return (Criteria) this;
        }

        public Criteria andSaltNotEqualTo(String value) {
            addCriterion("salt <>", value, "salt");
            return (Criteria) this;
        }

        public Criteria andSaltGreaterThan(String value) {
            addCriterion("salt >", value, "salt");
            return (Criteria) this;
        }

        public Criteria andSaltGreaterThanOrEqualTo(String value) {
            addCriterion("salt >=", value, "salt");
            return (Criteria) this;
        }

        public Criteria andSaltLessThan(String value) {
            addCriterion("salt <", value, "salt");
            return (Criteria) this;
        }

        public Criteria andSaltLessThanOrEqualTo(String value) {
            addCriterion("salt <=", value, "salt");
            return (Criteria) this;
        }

        public Criteria andSaltLike(String value) {
            addCriterion("salt like", value, "salt");
            return (Criteria) this;
        }

        public Criteria andSaltNotLike(String value) {
            addCriterion("salt not like", value, "salt");
            return (Criteria) this;
        }

        public Criteria andSaltIn(List<String> values) {
            addCriterion("salt in", values, "salt");
            return (Criteria) this;
        }

        public Criteria andSaltNotIn(List<String> values) {
            addCriterion("salt not in", values, "salt");
            return (Criteria) this;
        }

        public Criteria andSaltBetween(String value1, String value2) {
            addCriterion("salt between", value1, value2, "salt");
            return (Criteria) this;
        }

        public Criteria andSaltNotBetween(String value1, String value2) {
            addCriterion("salt not between", value1, value2, "salt");
            return (Criteria) this;
        }

        public Criteria andIsdeleteIsNull() {
            addCriterion("isDelete is null");
            return (Criteria) this;
        }

        public Criteria andIsdeleteIsNotNull() {
            addCriterion("isDelete is not null");
            return (Criteria) this;
        }

        public Criteria andIsdeleteEqualTo(Integer value) {
            addCriterion("isDelete =", value, "isdelete");
            return (Criteria) this;
        }

        public Criteria andIsdeleteNotEqualTo(Integer value) {
            addCriterion("isDelete <>", value, "isdelete");
            return (Criteria) this;
        }

        public Criteria andIsdeleteGreaterThan(Integer value) {
            addCriterion("isDelete >", value, "isdelete");
            return (Criteria) this;
        }

        public Criteria andIsdeleteGreaterThanOrEqualTo(Integer value) {
            addCriterion("isDelete >=", value, "isdelete");
            return (Criteria) this;
        }

        public Criteria andIsdeleteLessThan(Integer value) {
            addCriterion("isDelete <", value, "isdelete");
            return (Criteria) this;
        }

        public Criteria andIsdeleteLessThanOrEqualTo(Integer value) {
            addCriterion("isDelete <=", value, "isdelete");
            return (Criteria) this;
        }

        public Criteria andIsdeleteIn(List<Integer> values) {
            addCriterion("isDelete in", values, "isdelete");
            return (Criteria) this;
        }

        public Criteria andIsdeleteNotIn(List<Integer> values) {
            addCriterion("isDelete not in", values, "isdelete");
            return (Criteria) this;
        }

        public Criteria andIsdeleteBetween(Integer value1, Integer value2) {
            addCriterion("isDelete between", value1, value2, "isdelete");
            return (Criteria) this;
        }

        public Criteria andIsdeleteNotBetween(Integer value1, Integer value2) {
            addCriterion("isDelete not between", value1, value2, "isdelete");
            return (Criteria) this;
        }

        public Criteria andCreatedateIsNull() {
            addCriterion("createDate is null");
            return (Criteria) this;
        }

        public Criteria andCreatedateIsNotNull() {
            addCriterion("createDate is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedateEqualTo(Date value) {
            addCriterion("createDate =", value, "createdate");
            return (Criteria) this;
        }

        public Criteria andCreatedateNotEqualTo(Date value) {
            addCriterion("createDate <>", value, "createdate");
            return (Criteria) this;
        }

        public Criteria andCreatedateGreaterThan(Date value) {
            addCriterion("createDate >", value, "createdate");
            return (Criteria) this;
        }

        public Criteria andCreatedateGreaterThanOrEqualTo(Date value) {
            addCriterion("createDate >=", value, "createdate");
            return (Criteria) this;
        }

        public Criteria andCreatedateLessThan(Date value) {
            addCriterion("createDate <", value, "createdate");
            return (Criteria) this;
        }

        public Criteria andCreatedateLessThanOrEqualTo(Date value) {
            addCriterion("createDate <=", value, "createdate");
            return (Criteria) this;
        }

        public Criteria andCreatedateIn(List<Date> values) {
            addCriterion("createDate in", values, "createdate");
            return (Criteria) this;
        }

        public Criteria andCreatedateNotIn(List<Date> values) {
            addCriterion("createDate not in", values, "createdate");
            return (Criteria) this;
        }

        public Criteria andCreatedateBetween(Date value1, Date value2) {
            addCriterion("createDate between", value1, value2, "createdate");
            return (Criteria) this;
        }

        public Criteria andCreatedateNotBetween(Date value1, Date value2) {
            addCriterion("createDate not between", value1, value2, "createdate");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}